package com.gitee.wsl.ext.db

//import androidx.room.Room
//import androidx.room.RoomDatabase
//import com.gitee.wsl.Lib
//import com.gitee.wsl.ext.config
//import java.io.File
//
//actual inline fun <reified T : RoomDatabase> roomDatabaseBuilder(
//    name: String,
//    isMultiInstance: Boolean,
//): RoomDatabase.Builder<T> {
//    val dbFile = File(Lib.config.appDirs.getUserDataDir(), name)
//    return Room.databaseBuilder(
//        name = dbFile.absolutePath,
//    )
//}